package ym.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 房源
 */
@Data
public class House implements Serializable {
    @TableId
    private Integer houseId;
    private String houseHeadImg;//头图
    private String houseTitle;//标题
    private String housePublishTime;//发布日期
    private String houseStatus;//房源状态

    private String housePrice;//租金
    private String housePriceUnit;//租金单位
    private String housePriceType;//支付方式
    private String housePriceDesc;//费用明细

    private String houseRentType;//租赁方式
    private String houseRentTime;//租期时长

    private String houseType;//房屋类型
    private String houseArea;//建筑面积
    private String houseOrientation;//朝向
    private String houseFloor;//楼层

    private String houseAddressRegion;//所属区域
    private String houseAddressDemo;//大致地址
    private String houseAddress;//详细地址

    private String houseFacilityBedroom;//卧室设施
    private String houseFacilityPublic;//公共设施
    private String houseLight;//房源亮点
    private String houseDemand;//房源要求
    private String houseDesc;//房源描述

    private String houseUse;//是否上架

    private Integer housePlotId;//所在小区
    @TableField(exist = false)
    private HousePlot housePlot;

    private Integer houseBrokerId;//经纪人
    @TableField(exist = false)
    private HouseBroker houseBroker;

    @TableField(exist = false)
    private List<HouseImg> HouseImgList;// 图片集合


}
